#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint tverify.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
  s.name             = 'tverify'
  s.version          = '0.0.1'
  s.summary          = '腾讯一键登录'
  s.description      = <<-DESC
腾讯一键登录
                       DESC
  s.homepage         = 'http://example.com'
  s.license          = { :file => '../LICENSE' }
  s.author           = { 'Your Company' => 'email@example.com' }
  s.source           = { :path => '.' }
  s.source_files = 'Classes/**/*'
  s.dependency 'Flutter'
  s.platform = :ios, '11.0'
  
  s.dependency 'SnapKit', '~> 5.6.0'
  s.dependency 'YYText', '~> 1.0.7'

  # Flutter.framework does not contain a i386 slice.
  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' }
  s.swift_version = '5.0'
  
  s.vendored_frameworks = 'SDK/TXLoginoauthSDK.framework', 'SDK/TYRZUISDK.xcframework'
  s.resources = ['SDK/TYRZResource.bundle']
  s.weak_frameworks = 'Network'
  s.resource_bundles = {'tverify_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']}

  s.xcconfig = { 'OTHER_LDFLAGS' => '$(inherited) -ObjC -all_load' }
  s.info_plist = {
    'NSAppTransportSecurity' => {
      'NSAllowsArbitraryLoads' => true
    }
  }
end
